package nonDefaultPackage;

import java.util.Iterator;

public class Match {	
	private boolean held=false;
	/**
	 * creates the match with the passed teams to the passed championship
	 * @param first
	 * @param second
	 * @param ch
	 */
	public Match(Team first, Team second, Championship ch){
		
	}
	/**
	 * sets number of scored goals for each team
	 * @param first_scored
	 * @param second_scored
	 */
	public void setScore(int first_scored, int second_scored){
		
	}
	/**
	 * return the championship object where the match was held
	 * @return
	 */
	public Championship getChampionhip(){
		
		return null;		
	}
	/**
	 * tells whtere the match is already complete
	 * @return
	 */
	public boolean isHeld(){
		
		return false;
	}
	/**
	 * returns the first (not a winner) team of the match
	 */
	public Team getFirstTeam(){
		return null;
	}
	/**
	 * returns the second (not a winner) team of the match
	 * @return
	 */
	public Team getSecondTeam(){
		return null;
	}
	/**
	 * number of goals first team scored
	 * @return
	 */
	public int firstTeamScored(){
		return 0;
	}
	/**
	 * number of goals second team scored
	 * @return
	 */
	public int secondTeamScored(){
		return 0;
	}
	
	/**
	 * return id from the dataBase (calls databaseManager)
	 * @return
	 */
	public int getMatchId(){
		return 0;
	}
	/**
	 * return players from the both team who scored goals
	 * @return
	 */
	public Iterator<Player>getScorers(){
		return null;
	}
	/**
	 * this method returns either -1 (if the first team loosed)
	 * or 0 (in case of draw)
	 * or 1 (if first team is winner)
	 * @return
	 */
	public int matchResult(){
		return 0;
	}
	
	/**
	 * returns all the goals scored in this match
	 * @return
	 */
	public Iterator<Goal> getGoals(){
		return null;
	}
	
	public static void main(String[] args) {
		System.out.println(2);
	}
	
}
